package rule;

import java.util.Map;

/**
 * <p>
 * userName 判断规则
 * </P>
 *
 * @author dingwen
 * @date 2021.09.09 10:13
 */
public class PasswordRule extends AbstractBaseRule<Boolean, Map<String,String>>{
    @Override
    Boolean executeBoolean(RuleDto<Map<String, String>> ruleDto) {
       return "123d456".equals(ruleDto.getValue().get(this.getClass().getSimpleName()));
    }
}
